package vamp
/**
 * The vamp_serviceweb.Poinotation entity.
 *
 * @author    
 *
 *
 */
class Poinotation {
    static mapping = {
         table 'poinotation'
         // version is set to false, because this isn't available by default for legacy databases
         version false
         id generator:'identity', column:'idpoinotation'
    }
    Integer favorite
    Integer like
    Integer unlike
    Integer idmember
    Integer idpoi

    static constraints = {
        favorite(max: 2147483647)
        like(max: 2147483647)
        unlike(max: 2147483647)
        idmember(max: 2147483647)
        idpoi(max: 2147483647)
    }
    String toString() {
        return "${id}"
    }
}
